/* ===============================================
   ABOUT US PAGE - MODERN DESIGN MATCHING HOME
   =============================================== */

/* Ensure navigation styling is applied correctly */
body {
    padding-top: 100px; /* Account for fixed navigation */
}

/* Page-specific variables */
:root {
    --about-gradient: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-cyan) 100%);
    --card-hover-shadow: 0 20px 40px rgba(139, 69, 255, 0.15);
}

/* About Hero Section */
.about-hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, 
        rgba(15, 15, 25, 0.95) 0%, 
        rgba(25, 25, 40, 0.90) 50%, 
        rgba(15, 15, 25, 0.95) 100%);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(139, 69, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    color: white;
}

.gradient-text {
    background: var(--about-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--about-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    background: var(--about-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--about-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* Our Beginning Section */
.our-beginning {
    padding: 120px 0;
    background: var(--bg-primary);
}

.beginning-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    transition: all 0.4s ease;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--about-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    color: white;
}

.content-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Founder Section */
.founder-section {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(25, 25, 40, 0.95) 0%, 
        rgba(15, 15, 25, 0.95) 100%);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-image {
    position: relative;
}

.founder-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(139, 69, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.founder-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(139, 69, 255, 0.4);
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--about-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.image-background {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 300px;
    height: 300px;
    background: rgba(139, 69, 255, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.founder-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.title-badge {
    background: var(--about-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 30px 0 40px;
}

.founder-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: rgba(139, 69, 255, 0.2);
    border: 1px solid rgba(139, 69, 255, 0.3);
    color: var(--primary-purple);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(139, 69, 255, 0.3);
    transform: translateY(-2px);
}

/* Team Section */
.team-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-member.featured {
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        var(--bg-glass) 50%);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.member-image {
    position: relative;
    margin-bottom: 25px;
    display: inline-block;
}

.member-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(139, 69, 255, 0.3);
    transition: all 0.4s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
    border-color: rgba(139, 69, 255, 0.6);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--about-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(139, 69, 255, 0.4);
}

/* Role Badges */
.leader-badge, .role-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.leader-badge {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.role-badge.frontend {
    background: linear-gradient(135deg, #61dafb, #21d4fd);
    color: white;
}

.role-badge.design {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.member-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.member-role {
    color: var(--primary-cyan);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-badge {
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--primary-cyan);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

/* Mission & Vision Section */
.mission-vision {
    padding: 120px 0;
    background: var(--bg-primary);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card, .vision-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    transition: all 0.4s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.card-header i {
    font-size: 3rem;
    background: var(--about-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.mission-card p, .vision-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Core Values Section */
.core-values {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(25, 25, 40, 0.95) 0%, 
        rgba(15, 15, 25, 0.95) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--about-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: white;
}

.value-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Technical Expertise Section */
.technical-expertise {
    padding: 120px 0;
    background: var(--bg-primary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-category {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
}

.expertise-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.category-header i {
    font-size: 2.5rem;
    background: var(--about-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 20px;
}

.category-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--primary-cyan);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

/* Timeline Section */
.milestones-timeline {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(25, 25, 40, 0.95) 0%, 
        rgba(15, 15, 25, 0.95) 100%);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--about-gradient);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--about-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 100px;
    text-align: center;
}

.timeline-content {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin: 0 40px;
    flex: 1;
    position: relative;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--about-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    z-index: 2;
}

/* CTA Section */
.about-cta {
    padding: 120px 0;
    background: var(--bg-primary);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-btn {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn.primary {
    background: var(--about-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 69, 255, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid rgba(139, 69, 255, 0.5);
    color: var(--primary-purple);
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.cta-btn.primary:hover {
    box-shadow: 0 12px 35px rgba(139, 69, 255, 0.4);
}

.cta-btn.secondary:hover {
    background: rgba(139, 69, 255, 0.1);
    border-color: var(--primary-purple);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .founder-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .content-card, .mission-card, .vision-card {
        padding: 30px;
    }
    
    .founder-content {
        gap: 40px;
    }
    
    .founder-photo, .image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 3rem;
    }
    
    .image-background {
        width: 250px;
        height: 250px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .member-image img {
        width: 180px;
        height: 180px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-year {
        min-width: auto;
        margin-right: 20px;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .timeline-icon {
        left: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-card, .mission-card, .vision-card, .value-card, .expertise-category, .team-member {
        padding: 25px;
    }
    
    .founder-photo, .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 2.5rem;
    }
    
    .image-background {
        width: 200px;
        height: 200px;
    }
    
    .member-image img {
        width: 150px;
        height: 150px;
    }
    
    .timeline-item {
        margin-left: 40px;
    }
    
    .timeline-icon {
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
}
